package com.woniu.mapper;

import com.woniu.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author xiaoruan
 * @since 2023-03-21
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from wnxt_user where  mobile=#{phone} and is_deleted=0")
    User getByPone(String phone);
}
